//
//  BQNavigationController.m
//  BeeQuick
//
//  Created by Vivitickey on 2017/4/26.
//  Copyright © 2017年 test. All rights reserved.
//

#import "BQNavigationController.h"

@interface BQNavigationController ()

@end

@implementation BQNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
}
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    
    // 判断子控制器的数量
    if (self.viewControllers.count > 0) {
        
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}



@end
